package adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import bean.ItemBean;
import bean.WorkBean;
import student.andlei.com.student.R;

public class PopupListAdapter extends BaseQuickAdapter<ItemBean,BaseViewHolder> {
    public PopupListAdapter(int layoutResId, @Nullable List<ItemBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ItemBean item) {
        helper.setText(R.id.tv_grade,item.str);
    }
}
